package com.example.birdfriends.pojo.bird;

import org.apache.ibatis.type.Alias;

import java.sql.Timestamp;

@Alias("bird")
public class Bird {
    private Long bid;
    private String birdname;
    private String section;
    private String images;
    private String introduction;
    private Long authorId;
    private Timestamp createAt;

    public void printBird() {
        System.out.println("Bird{" +
                "bid=" + bid +
                ", birdname='" + birdname + '\'' +
                ", section='" + section + '\'' +
                ", images='" + images + '\'' +
                ", introduction='" + introduction + '\'' +
                ", authorId=" + authorId +
                ", createAt=" + createAt +
                '}');
    }

    public void setBid(Long bid) {
        this.bid = bid;
    }

    public void setBirdname(String birdname) {
        this.birdname = birdname;
    }

    public void setSection(String section) {
        this.section = section;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public void setAuthorId(Long authorId) {
        this.authorId = authorId;
    }

    public void setCreateAt(Timestamp createAt) {
        this.createAt = createAt;
    }

    public Long getBid() {
        return bid;
    }

    public String getBirdname() {
        return birdname;
    }

    public String getSection() {
        return section;
    }

    public String getImages() {
        return images;
    }

    public String getIntroduction() {
        return introduction;
    }

    public Long getAuthorId() {
        return authorId;
    }

    public Timestamp getCreateAt() {
        return createAt;
    }
}
